package com.hoshiibuy.sm.register;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;

/**
 * 启动类
 */
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
@EnableEurekaServer
public class HoshiibuySmRegisterApplication {
    public static void main(String[] args) {
		/*
		 * new SpringApplicationBuilder(HoshiibuySmRegisterApplication.class)
		 * .banner(new HoshiibuySmRegisterBanner()) .logStartupInfo(true) .run(args);
		 */
    	SpringApplication.run(HoshiibuySmRegisterApplication.class, args);
    }
}
